<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="{eyou:global name='web_keywords' /}">
    <meta name="description" content="{eyou:global name='web_description' /}">
    <title>{eyou:global name='web_title' /}</title>
    {eyou:include file="import.htm" /}
</head>

<body>
    <div class="container">
        {eyou:include file="header.htm" /}
        <div class="row">
            <div class="col-12 col-lg-8">
                <!-- 面包屑导航 -->
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb bg-light">
                        {eyou:position style="crumb" /}
                    </ol>
                </nav>
                <!-- 文档列表 -->
                {eyou:list pagesize="7" }
                <div class="card mb-4">
                    <div class="row no-gutters">
                        <div class="col-md-5">
                            <img src="{$field.litpic|thumb_img=###,800,550,3}" class="card-img-top d-block d-sm-none">
                            <img src="{$field.litpic}" class="jqthumb-img">
                            <a href="{$field.arcurl}" class="card-link stretched-link"></a>
                        </div>
                        <div class="col-md-7">
                            <div class="card-body">
                                <h5 class="card-title text-truncate-2">{$field.title}</h5>
                                <p class="card-text text-muted text-truncate-2">{$field.seo_description}</p>
                                <p class="card-text"><small
                                        class="text-muted">更新于{$field.add_time|MyDate='Y年m月d日',###}</small></p>
                                <a href="{$field.arcurl}" class="card-link stretched-link"></a>
                            </div>
                        </div>
                    </div>
                </div>
                {/eyou:list}
                <!-- 列表分页 -->
                <ul class="pagination justify-content-center mb-4">
                    {eyou:pagelist listitem="index,pre,next,end,pageno" listsize="4" /}
                </ul>
            </div>
            <div class="col-12 col-lg-4">
                {eyou:include file="sidebar.htm" /}
            </div>
        </div>
    </div>
    <!-- 返回顶部 -->
    <button type="button" class="to-top btn bg-dark text-white"><i class="bi bi-chevron-up"></i></button>
    <script>
        $(document).ready(function () {
            $('.to-top').toTop({
                autohide: true,
                offset: 420,
                speed: 400,
                position: true,
                right: 15,
                bottom: 30
            });
        });
        $(function () {
            $('.jqthumb-img').jqthumb({
                width: '100%',
                height: '100%',
                showoncomplete: true,
                after: function () {
                    if ($(window).width() < 576) {
                        $(".jqthumb").css("display", "none");
                    } else {
                        $(".jqthumb").css("display", "block");
                    }
                }
            });
            $(window).resize(function () {
                if ($(window).width() < 576) {
                    $(".jqthumb").css("display", "none");
                } else {
                    $(".jqthumb").css("display", "block");
                }
            });
        });

    </script>
</body>

</html>